<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
</head>
<style>

</style>
  <body style="background: aliceblue">
    <center>

      <form action="/regUser" method="get">
        <table border="1" style="background:url(tu.jpg)"  id="table">
          <h1>用户注册</h1>
          <tr>
            <td>用户名：</td>
            <td><input name="username" type="text" style="width: 180px" placeholder="请输入用户名"></td>
          </tr>
          <tr>
            <td>密&nbsp&nbsp&nbsp码：</td>
            <td><input name="password" type="password" style="width: 180px" placeholder="请输入密码"></td>
          </tr>
          <tr>
            <td>昵&nbsp&nbsp&nbsp称：</td>
            <td><input name="nickname" type="text" style="width: 180px" placeholder="请输入昵称"></td>
          </tr>
          <tr>
            <td>年&nbsp&nbsp&nbsp龄：</td>
            <td><input name="age" type="number" style="width: 180px" placeholder="请输入年龄"></td>
          </tr>
          <tr>
            <td colspan="2" style="text-align: center"><input type="submit" onclick='alert("已提交！")' value="注册" style="text-align: center;" ></td>
          </tr>
        </table>
      </form>

    </center>
  </body>
</html>